package com.sgz.test.bean.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: sunguangzhu
 * Date: 13-8-19
 * Time: 下午2:46
 * To change this template use File | Settings | File Templates.
 */
public class BeanUtilsCopyBean {
    private Long id;

    private List<String> list1 = new ArrayList<String>();
    private String[] str = {"22", "world"};
    private Map map= new HashMap();
    private List<Map> complex = new ArrayList<Map>();
    private Map beanMap = new HashMap();
    private ReflectBean bean;
    public BeanUtilsCopyBean() {
        id = 2l;
        list1.add("hello");
        list1.add("world");
        map.put("h", "hello");
        map.put("w", "world");
    }

    public List<String> getList1() {
        return list1;
    }

    public void setList1(List<String> list1) {
        this.list1 = list1;
    }

    public String[] getStr() {
        return str;
    }

    public void setStr(String[] str) {
        this.str = str;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<Map> getComplex() {
        return complex;
    }

    public void setComplex(List<Map> complex) {
        this.complex = complex;
    }

    public Map getBeanMap() {
        return beanMap;
    }

    public void setBeanMap(Map beanMap) {
        this.beanMap = beanMap;
    }

    public ReflectBean getBean() {
        return bean;
    }

    public void setBean(ReflectBean bean) {
        this.bean = bean;
    }
}
